package cn.edu.scau.cmi.linzhanyi.interProgramming;


import javafx.fxml.FXML;
import javafx.scene.control.*;

public class Controller {
   
	@FXML
	private Button Ulearning;
	@FXML
	private Button Glearning;
	@FXML
	private TextArea Utext;
	@FXML
	private TextArea Gtext;
    public void Ulearn() {
		UndergraduateStudent uStudent = new UndergraduateStudent();
		Utext.setText(uStudent.learning());
	}
    public void Glearn() {
		GraduateStudent uStudent = new GraduateStudent();
		Gtext.setText(uStudent.learning());
	}
   

}
